Skip to content

Check asset integrity in main loop to catch lazy-loaded assets#8594

Open
StephenCWills wants to merge 1 commit into
diasurgical:masterfrom
StephenCWills:lazy-loaded-asset-integrity
Open

Check asset integrity in main loop to catch lazy-loaded assets#8594
StephenCWills wants to merge 1 commit into
diasurgical:masterfrom
StephenCWills:lazy-loaded-asset-integrity

Conversation

@StephenCWills

Copy link
Copy Markdown
Member

Since Lua mods can invoke require() at any time (such as inside a Lua event handler) to load an overridden Lua script from the filesystem, the safest way to catch lazy-loaded assets is to check for it in the main loop.

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants